﻿using System;
using System.Collections.Generic;
using System.Text;
//from:http://i.aspx1.com
namespace Module
{
    /// <summary>
    /// 每一条新闻的信息
    /// </summary>
  public   class NewsModel
    {
      long newsId;

      public long NewsId
      {
          get { return newsId; }
          set { newsId = value; }
      }

        string newsTitle="";
        public string NewsTitle
        {
            get { return newsTitle; }
            set { newsTitle = value; }
        }       
        string newsUrl="";
        public string NewsUrl
        {
            get { return newsUrl; }
            set { newsUrl = value; }
        }
        DateTime newsPubDate;
        public DateTime NewsPubDate
        {
            get { return newsPubDate; }
            set { newsPubDate = value; }
        }
        string newsDescription="";
        public string NewsDescription
        {
            get { return newsDescription; }
            set { newsDescription = value; }
        }
        string newsAuthor="";
        public string NewsAuthor
        {
            get { return newsAuthor; }
            set { newsAuthor = value; }
        }
        string newsCategory="";
        public string NewsCategory
        {
            get { return newsCategory; }
            set { newsCategory = value; }
        }
        string newsBody="";
        public string NewsBody
        {
            get { return newsBody; }
            set { newsBody = value; }
        }       
        int newsType;

        public int NewsType
        {
            get { return newsType; }
            set { newsType = value; }
        }

        DateTime dateCreated;

        public DateTime DateCreated
        {
            get { return dateCreated; }
            set { dateCreated = value; }
        }

    }
}
